$OpenBSD: patch-kcalcore_icaltimezones_cpp,v 1.4 2014/07/09 20:03:30 zhuk Exp $
Allow UUID library to be found even if not in default search path.
--- kcalcore/icaltimezones.cpp.orig	Thu May  8 11:26:48 2014
+++ kcalcore/icaltimezones.cpp	Sun May 18 20:22:24 2014
@@ -39,7 +39,7 @@ extern "C" {
 #include <icaltimezone.h>
 }
 
-#if defined(HAVE_UUID_UUID_H)
+#if UUID_FOUND
 #include <uuid/uuid.h>
 #endif
 
@@ -788,7 +788,7 @@ class ICalTimeZoneSourcePrivate (public)
                                        int &prevOffset, KTimeZone::Phase &);
     static QByteArray icalTzidPrefix;
 
-#if defined(HAVE_UUID_UUID_H)
+#if UUID_FOUND
     static void parseTransitions(const MSSystemTime &date, const KTimeZone::Phase &phase,
                                  int prevOffset, QList<KTimeZone::Transition> &transitions);
 #endif
@@ -980,7 +980,7 @@ ICalTimeZone ICalTimeZoneSource::parse(icalcomponent *
     return ICalTimeZone(this, name, data);
 }
 
-#if defined(HAVE_UUID_UUID_H)
+#if UUID_FOUND
 ICalTimeZone ICalTimeZoneSource::parse(MSTimeZone *tz, ICalTimeZones &zones)
 {
     const ICalTimeZone zone = parse(tz);
@@ -1048,7 +1048,7 @@ ICalTimeZone ICalTimeZoneSource::parse(MSTimeZone *tz)
 
     return ICalTimeZone(this, name, idata);
 }
-#endif // HAVE_UUID_UUID_H
+#endif // UUID_FOUND
 
 ICalTimeZone ICalTimeZoneSource::parse(const QString &name, const QStringList &tzList,
                                        ICalTimeZones &zones)
@@ -1111,7 +1111,7 @@ ICalTimeZone ICalTimeZoneSource::parse(const QString &
     return ICalTimeZone(this, name, idata);
 }
 
-#if defined(HAVE_UUID_UUID_H)
+#if UUID_FOUND
 //@cond PRIVATE
 void ICalTimeZoneSourcePrivate::parseTransitions(const MSSystemTime &date,
         const KTimeZone::Phase &phase, int prevOffset,
@@ -1165,7 +1165,7 @@ void ICalTimeZoneSourcePrivate::parseTransitions(const
     }
 }
 //@endcond
-#endif // HAVE_UUID_UUID_H
+#endif // UUID_FOUND
 
 ICalTimeZone ICalTimeZoneSource::parse(icaltimezone *tz)
 {
